package com.authine.cloudpivot.ext.dto.transfer;

import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author: 李国祥
 * @Date: 2019/11/21 10:08
 * @Version 1.0
 */
@Api("转采收票生成凭证模型")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class KingDeePurchaseReceipt implements Serializable {

    private static final long serialVersionUID = 433230553103727707L;
    /**
     * 发票ID
     */
    private String id;
    /**
     * 供应商名称
     */
    private String companyName;
    /**
     * 供应商ID
     */
    private String vendorOrgId;
    /**
     * 发票税率
     */
    private BigDecimal invoiceRate;
    /**
     * 含税总金额
     */
    private BigDecimal invoiceAmount;
    /**
     * 未税金额
     */
    private BigDecimal preInvoiceAmount;
    /**
     * 订单未税金额
     */
    private BigDecimal preOrderAmount;
    /**
     * 收票类型
     */
    private String invoiceType;
    /**
     * 收票时间
     */
    private String financialConfirmTime;

    /**
     * 收票详情
     */
    private List<KingDeePurchaseReceiptDetail> purchaseInvoiceDetailList;
    /**
     * pocode \ amount
     */
    private Map<String, BigDecimal> poDetail;
    /**
     * 账套名
     */
    private String accountName;

}
